Coyote\Controllers\SettingsController A

Total Complexity 66
Dependencies 5
Dependents 1
Total lines 565
Lines of code 439
Logical lines of code 200
Comment lines 5
Methods 27
Properties 6

Methods 27

Method Rating Maintainability Complexity Lines of code
init()
A
36 5 103
tools()
A
40 6 65
get_profile()
S
49 6 32
settings_page_cb()
S
54 5 23
api_organization_id_cb()
S
55 5 17
change_organization_id()
S
52 4 24
verify_settings()
S
54 3 21
enqueue_scripts()
S
55 3 19
ajax_verify_resource_group()
S
53 2 23
plugin_setting_section_cb()
S
57 2 19
__construct()
S
55 2 18
sanitize_endpoint()
S
67 3 8
settings_updates_enabled_cb()
S
68 2 6
settings_filters_enabled_cb()
S
68 2 6
settings_is_standalone_cb()
S
68 2 6
settings_skip_unpublished_enabled_cb()
S
68 2 6
sanitize_boolean()
S
78 2 3
sanitize_organization_id()
S
80 1 3
sanitize_metum()
S
80 1 3
noop_setting_section_cb()
S
98 1 1
api_endpoint_cb()
S
73 1 4
api_token_cb()
S
73 1 4
api_metum_cb()
S
73 1 4
menu()
S
66 1 10
set_organization_id()
S
75 1 4
change_standalone_mode()
S
76 1 4
sanitize_token()
S
80 1 3